package top.arryweb.application.domain.dto;

import io.swagger.annotations.ApiModel;
import java.math.BigDecimal;
import javax.validation.constraints.NotNull;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Description 创建支付订单下的分账订单
 * @Author mac
 * @Date 2021/6/15
 **/
@ApiModel("DTO——创建支付订单下的分账订单")
@Data
@NoArgsConstructor
public class CreateDistributionOrderDTO {
  @NotNull(message = "所属订单标识不可为空")
  private Long paymentOrderId;

  @NotNull(message = "用户id不可为空")
  private Long userId;

  @NotNull(message = "分账金额不可为空")
  private BigDecimal amount;

  private String remark;
}
